<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!-- 引入标签库-->
<%@ include file="/pages/inc/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="charset=UTF-8">
<title><c:out value="${viewName }" />
</title>
<%@ include file="/pages/inc/header.jsp"%>
</head>
<body
	onload="intializePage('<c:out value="${fileUrl }" />','<c:out value="${isNewFile }" />','<c:out value="${fileReadOnly }" />')"
	onbeforeunload="closePage(<c:out value="${isNewFile }" />)" style="margin: 0;padding: 0;">
	<div>
		<table width=100% border=0 cellpadding=0 cellspacing=0>
			<tr>
				<td>
				<!-- 后期添加菜单 -->
				</td>
			</tr>
			<tr>
				<td style="text-valign: middle; font-size: 40px; FONT-FAMILY: '微软雅黑'">
		<table width=100% cellpadding=0 cellspacing=0>
			<tr width=100%>
				<td>
				<FORM id="officeForm" name="officeForm" enctype="multipart/form-data">
					
					<object id="TANGER_OCX" classid="clsid:C9BC4DFF-4248-4a3c-8A49-63A7D317F404"
						codebase="<c:url value='/pages/jsp/commom/file/OfficeControl.cab#version=5,0,2,4' />" width="100%" height="<c:out value='${notkHeigth }' />" >
						<param name="ProductCaption" value="昆明轨道交通">
						<param name="ProductKey" value="0FCA2390C26F2B17EA26F44E45B71F0CA5598DE2">
						<param name="BorderStyle" value="1">
						<param name="TitlebarColor" value="15658734">
						<param name="TitlebarTextColor" value="0">
						<param name="Caption" value="昆明轨道交通">
						<param name="titlebar" value="0">
						<SPAN STYLE="color: red">该网页需要控件浏览.浏览器无法装载所需要的文档控件.请检查浏览器选项中的安全设置.</SPAN>
					</object>
				</FORM>
				</td>
			</tr>
		</table>
		</td>
			</tr>
		</table>
	</div>
	
	<!-- 该事件发生在文档关闭后 -->
	<script language="JScript" for="TANGER_OCX" event="OnDocumentClosed()">
			setFileOpenedOrClosed(false);
	</script>
	<script language="JScript" for=TANGER_OCX event="OnFileCommand(TANGER_OCX_str,TANGER_OCX_obj)">
					if (TANGER_OCX_str == 2) {
						// 单击 关闭 菜单按钮
						CancelLastCommand = true;
						window.close();
					}
					else if (TANGER_OCX_str == 3) {
						//单击 保存 菜单按钮
						CancelLastCommand = true;
						saveFileToUrl();
					}
			</script>
</body>
<script type="text/javascript">
<%@ include file="/pages/jsp/commom/editOffice.js"%>
</script>
</html>